package com.bwie.service.impl;

import com.bwie.mapper.AttrGroupMapper;
import com.bwie.pojo.AttrGroup;
import com.bwie.service.AttrGroupService;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author GaoYiJie
 * @Description
 * @Create 2025/2/27 10:26
 * @Version 1.0
 */
@Service
public class AttrGroupServiceImpl implements AttrGroupService {

    @Autowired
    AttrGroupMapper attrGroupMapper;

    @Override
    public R getAttrGroupList() {
        List<AttrGroup> attrGroups = attrGroupMapper.selectList(null);
        return R.OK(attrGroups);
    }
}
